package com.budayi.common.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author LIBOFEI
 * @ClassName SystemFeignClientService
 * @Description 调用系统服务
 * @date 2021/4/21 10:39
 * @Version 1.0
 **/
//name表示要调用的服务
@FeignClient("system-service")
public interface SystemFeignClientService {


    @RequestMapping(value = "/test/system/feign",method = RequestMethod.POST)
    String testSystemFeignClientService(@RequestParam("username")String username);

}
